﻿// =================================================================== 
// Project Description
// =================================================================== 
// File: Code.cs
// Entity
// CopyRight: Jack Guo
// 2011/8/17 
// 2011/8/17 12:04:47: Jack    Version 1.0
// 
// =================================================================== 
using System;
using System.Data;
using Vici.CoolStorage;

namespace Ss.Model
{
    /// <summary>
    /// <para>Code Object</para>
    /// <para>Summary description for Code.</para>
    /// <para><see cref="member"/></para>
    /// <remarks></remarks>
    /// </summary>
    [MapTo("Codes")]
    public abstract partial class BaseCode<ObjectType> : CSObject<ObjectType, System.Int32>
        where ObjectType : CSObject<ObjectType>
    {
        #region Properties
        #region ID
        /// <summary>
        /// 
        /// </summary>
        public abstract System.Int32 ID { get; }
        #endregion
        #region 分类编号
        /// <summary>
        /// 分类编号
        /// </summary>
        public abstract System.Int32 SortID
        {
            get;
            set;
        }
        #endregion
        #region 代码名称
        /// <summary>
        /// 代码名称
        /// </summary>
        public abstract System.String Name
        {
            get;
            set;
        }
        #endregion
        #endregion
    }
    public abstract partial class Code : BaseCode<Code>
    {
    }
}
